package com.zhys.middle.goods.common.entity;

import com.zhys.validation.annotation.NotBlank;

/**
 * 
 * @ClassName: IdBO
 * @Description: 主键
 * @author xuxh
 * @date 2017年9月28日 下午10:14:54
 */
public class IdBO extends DefaultBO {

    private static final long serialVersionUID = -392227676853289083L;

    @NotBlank(message = "主键不能为空")
    private Long id;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "IdRequest [id=" + id + "]";
    }

}
